home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ____CCCCOOOOMMMMQQQQRRRR2222((((3333FFFF)))) ____CCCCOOOOMMMMQQQQRRRR2222((((3333FFFF))))
-
-
-
- NNNNAAAAMMMMEEEE
- COMQR2, SCOMQR2 - EISPACK routine. This subroutine finds the
- eigenvalues and eigenvectors of a COMPLEX UPPER Hessenberg matrix by the
- QR method. The eigenvectors of a COMPLEX GENERAL matrix can also be
- found if CORTH has been used to reduce this general matrix to
- Hessenberg form.
-
-
- SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ccccoooommmmqqqqrrrr2222((((nnnnmmmm,,,,nnnn,,,,lllloooowwww,,,,iiiigggghhhh,,,,oooorrrrttttrrrr,,,,oooorrrrttttiiii,,,,hhhhrrrr,,,,hhhhiiii,,,,wwwwrrrr,,,,wwwwiiii,,,,zzzzrrrr,,,,zzzziiii,,,,iiiieeeerrrrrrrr))))
- iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, iiiieeeerrrrrrrr
- ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn hhhhrrrr((((nnnnmmmm,,,,nnnn)))),,,, hhhhiiii((((nnnnmmmm,,,,nnnn)))),,,, wwwwrrrr((((nnnn)))),,,, wwwwiiii((((nnnn))))
- ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn zzzzrrrr((((nnnnmmmm,,,,nnnn)))),,,, zzzziiii((((nnnnmmmm,,,,nnnn)))),,,, oooorrrrttttrrrr((((iiiigggghhhh)))),,,, oooorrrrttttiiii((((iiiigggghhhh))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssccccoooommmmqqqqrrrr2222((((nnnnmmmm,,,,nnnn,,,,lllloooowwww,,,,iiiigggghhhh,,,,oooorrrrttttrrrr,,,,oooorrrrttttiiii,,,,hhhhrrrr,,,,hhhhiiii,,,,wwwwrrrr,,,,wwwwiiii,,,,zzzzrrrr,,,,zzzziiii,,,,iiiieeeerrrrrrrr))))
- iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, iiiieeeerrrrrrrr
- rrrreeeeaaaallll hhhhrrrr((((nnnnmmmm,,,,nnnn)))),,,, hhhhiiii((((nnnnmmmm,,,,nnnn)))),,,, wwwwrrrr((((nnnn)))),,,, wwwwiiii((((nnnn))))
- rrrreeeeaaaallll zzzzrrrr((((nnnnmmmm,,,,nnnn)))),,,, zzzziiii((((nnnnmmmm,,,,nnnn)))),,,, oooorrrrttttrrrr((((iiiigggghhhh)))),,,, oooorrrrttttiiii((((iiiigggghhhh))))
-
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- On INPUT
-
- NNNNMMMM must be set to the row dimension of two-dimensional array parameters
- as declared in the calling program dimension statement.
-
- NNNN is the order of the matrix.
-
- LLLLOOOOWWWW and IGH are integers determined by the balancing subroutine CBAL.
- If CBAL has not been used, set LOW=1, IGH=N.
-
- OOOORRRRTTTTRRRR and ORTI contain information about the unitary trans- formations
- used in the reduction by CORTH, if performed. Only elements LOW through
- IGH are used. If the eigenvectors of the Hessenberg matrix are desired,
- set ORTR(J) and ORTI(J) to 0.0E0 for these elements.
-
- HHHHRRRR and HI contain the real and imaginary parts, respectively, of the
- complex upper Hessenberg matrix. Their lower triangles below the
- subdiagonal contain further information about the transformations which
- were used in the reduction by CORTH, if performed. If the eigenvectors
- of the Hessenberg matrix are desired, these elements may be arbitrary.
- On OUTPUT
-
- OOOORRRRTTTTRRRR , ORTI, and the upper Hessenberg portions of HR and HI have been
- destroyed.
-
- WWWWRRRR and WI contain the real and imaginary parts, respectively, of the
- eigenvalues. If an error exit is made, the eigenvalues should be correct
- for indices IERR+1,...,N.
-
- ZZZZRRRR and ZI contain the real and imaginary parts, respectively, of the
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ____CCCCOOOOMMMMQQQQRRRR2222((((3333FFFF)))) ____CCCCOOOOMMMMQQQQRRRR2222((((3333FFFF))))
-
-
-
- eigenvectors. The eigenvectors are unnormalized. If an error exit is
- made, none of the eigenvectors has been found.
-
- IIIIEEEERRRRRRRR is set to Zero for normal return, J if the J-th
- eigenvalue has not been
- determined after a total of 30*N iterations. Calls CSROOT for complex
- square root. Calls PYTHAG(A,B) for sqrt(A**2 + B**2). Calls CDIV for
- complex division. Questions and comments should be directed to B. S.
- Garbow, APPLIED MATHEMATICS DIVISION, ARGONNE NATIONAL LABORATORY
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-